#!/usr/bin/env python
# -*- coding: utf-8 -*-

from lexer  import Lexer, LexerReader
from parser import Parser

def main():
	f = open("convert.txt")
	for line in f:
		infile, outfile = line.split(";")
		parser = Parser(
			Lexer(
				LexerReader(infile)))
		parser.parse(outfile.rstrip("\n"))

if __name__ == "__main__":
	main()

